
package com.example.demo.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.example.demo.pojo.Department;
import com.example.demo.pojo.Employee;
import com.example.demo.repository.EmployeeRepository;
import com.example.demo.service.DepartmentService;
import com.example.demo.service.EmployeeService;

public class DepartmentServiceImpl implements DepartmentService {

	@Autowired
	private DepartmentService departmentService;

	@Override
	public List<Department> findAll() {
		// TODO Auto-generated method stub
		return departmentService.findAll();
	}

}
